﻿// =================================================================== 
// 项目说明
//====================================================================
// 文件： ERP_DemandDetail.cs
// 创建时间：2016/11/29
// 负责人：
// ===================================================================
using System;

//注意：该文件自动生成，一般请不要手工修改。

namespace CRMMis.Model
{
	/// <summary>
	///要货单详情表(ERP_DemandDetail)数据实体
	/// </summary>
	[Serializable]
	public class ERP_DemandDetail
	{
		#region 变量定义
		
		///<summary>
		///计划详情ID
		///</summary>
		private int _demandDetailID;
		
		///<summary>
		///要货计划id
		///</summary>
		private int _dPlanID;
		
		///<summary>
		///物品目录ID
		///</summary>
		private int _dCargoId;
		
		///<summary>
		///申请数量
		///</summary>
		private int _dCount;
		
		///<summary>
		///备注
		///</summary>
		private string _remark = String.Empty;
		#endregion
		
		#region 构造函数

		///<summary>
		///要货单详情表的构造函数，默认值通过数据库的default取得
		///</summary>
		public ERP_DemandDetail()
		{
 
		}
		///<summary>
		///要货单详情表
		///</summary>
		public ERP_DemandDetail
		(
			int demandDetailID,
			int dPlanID,
			int dCargoId,
			int dCount,
			string remark
		)
		{
			_demandDetailID = demandDetailID;
			_dPlanID        = dPlanID;
			_dCargoId       = dCargoId;
			_dCount         = dCount;
			_remark         = remark;
			
		}
		
		

		#endregion
		
		#region 公共属性

		
		
		///<summary>
		///计划详情ID
		///</summary>
		public int DemandDetailID
		{
			get {return _demandDetailID;}
			set {_demandDetailID = value;}
		}

		
		///<summary>
		///要货计划id
		///</summary>
		public int DPlanID
		{
			get {return _dPlanID;}
			set {_dPlanID = value;}
		}

		
		///<summary>
		///物品目录ID
		///</summary>
		public int DCargoId
		{
			get {return _dCargoId;}
			set {_dCargoId = value;}
		}

		
		///<summary>
		///申请数量
		///</summary>
		public int DCount
		{
			get {return _dCount;}
			set {_dCount = value;}
		}

		
		///<summary>
		///备注
		///</summary>
		public string Remark
		{
			get {return _remark;}
			set {_remark = value;}
		}
	
		#endregion
		
	}
}